package com.console.pages.planmgr;

import com.common.test.DefaultElement;
import com.common.test.FindElement;
import com.common.test.PageBase;
import com.common.test.UITestBase;

/**
 * Created by Sylar on 2016/8/9.
 * 提前结清页面
 */
public class AdvanceRepayPage extends PageBase {

    public AdvanceRepayPage(UITestBase tb) {
        super(tb);
    }

    @FindElement(findName = "xpath", findValue="//td[a[text()='提前/逾期结清']]/a",desc="提前/逾期结清")
    public DefaultElement advanceRepayLink;

    @FindElement(findName = "xpath", findValue="//input[@ng-model='advanceObj.reduceAmount']", desc="减免金额")
    public DefaultElement reduceAmount;

    @FindElement(findName = "xpath", findValue="//select[@ng-model='advanceObj.advanceObj.accountType']", desc="垫付类型")
    public DefaultElement reduceAccountType;

    @FindElement(findName = "xpath", findValue="//select[@ng-model='advanceObj.advanceObj.interestValue']", desc="垫付类型")
    public DefaultElement interestValue;

    @FindElement(findName = "xpath", findValue="//select[@ng-model='advanceObj.consultFlag']", desc="咨询费结清方式")
    public DefaultElement consultFlag;

    @FindElement(findName = "xpath", findValue="//input[@ng-model='advanceObj.consultValue']", desc="咨询费结清金额")
    public DefaultElement consultValue;

    @FindElement(findName = "xpath", findValue="//select[@ng-model='advanceObj.auditFlag']", desc="评估费结清方式")
    public DefaultElement auditFlag;

    @FindElement(findName = "xpath", findValue="//input[@ng-model='advanceObj.auditValue']", desc="评估费结清金额")
    public DefaultElement auditValue;

    @FindElement(findName = "xpath", findValue="//select[@ng-model='advanceObj.serviceFlag']", desc="管理费结清方式")
    public DefaultElement serviceFlag;

    @FindElement(findName = "xpath", findValue="//input[@ng-model='advanceObj.serviceValue']", desc="管理费结清金额")
    public DefaultElement serviceValue;

    @FindElement(findName = "xpath", findValue="//select[@ng-model='advanceObj.assetFlag']", desc="风险基金结清方式")
    public DefaultElement assetFlag;

    @FindElement(findName = "xpath", findValue="//input[@ng-model='advanceObj.assetValue']", desc="风险基金结清金额")
    public DefaultElement assetValue;

    @FindElement(findName = "xpath", findValue="//select[@ng-model='advanceObj.handlingFlag']", desc="手续费结清方式")
    public DefaultElement handlingFlag;

    @FindElement(findName = "xpath", findValue="//input[@ng-model='advanceObj.handlingValue']", desc="手续费结清金额")
    public DefaultElement handlingValue;

    @FindElement(findName = "xpath", findValue="//select[@ng-model='advanceObj.advanceProtectionFlag']", desc="提前还款保障费结清方式")
    public DefaultElement advanceProtectionFlag;

    @FindElement(findName = "xpath", findValue="//input[@ng-model='advanceObj.advanceProtectionValue']", desc="提前还款保障费结清金额")
    public DefaultElement advanceProtectionValue;

    @FindElement(findName = "xpath", findValue="//select[@ng-model='advanceObj..handRepayFlag']", desc="手工还款抵扣结清方式")
    public DefaultElement handRepayFlag;

    @FindElement(findName = "xpath", findValue="//input[@ng-model='advanceObj.handRepayValue']", desc="手工还款抵扣结清金额")
    public DefaultElement handRepayValue;

    @FindElement(findName = "xpath", findValue="//select[@id='advanceSettleSelect']", desc="结清类型")
    public DefaultElement advanceSettle;

    @FindElement(findName = "xpath", findValue="//select[@type='button']", desc="结清按钮")
    public DefaultElement advanceRepayBtn;


}
